package com.xianbeiying.app.ckgl.bean;

import java.util.List;

/**
 * 土壤湿度历史数据
 */
public class TrSdDataBean {

    /**
     * K : GET_SOIL_HUMIDITY
     * V : {"SOIL_HUMIDITY_DATA":[100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100]}
     */
    private boolean R;
    private String ERR_MSG;
    /**
     * K : GET_SOIL_HUMIDITY
     * V : {"SOIL_HUMIDITY_DATA":[{"DATA":100,"TIME":1474089959000},{"DATA":100,"TIME":1474090019000},{"DATA":100,"TIME":1474090079000},{"DATA":100,"TIME":1474090139000}]}
     */

    private String K;
    private VBean V;

    public boolean isR() {
        return R;
    }

    public void setR(boolean r) {
        R = r;
    }

    public String getERR_MSG() {
        return ERR_MSG;
    }

    public void setERR_MSG(String ERR_MSG) {
        this.ERR_MSG = ERR_MSG;
    }

    public String getK() {
        return K;
    }

    public void setK(String K) {
        this.K = K;
    }

    public VBean getV() {
        return V;
    }

    public void setV(VBean V) {
        this.V = V;
    }


    public static class VBean {
        /**
         * DATA : 100
         * TIME : 1474089959000
         */

        private List<SOILHUMIDITYDATABean> SOIL_HUMIDITY_DATA;

        public List<SOILHUMIDITYDATABean> getSOIL_HUMIDITY_DATA() {
            return SOIL_HUMIDITY_DATA;
        }

        public void setSOIL_HUMIDITY_DATA(List<SOILHUMIDITYDATABean> SOIL_HUMIDITY_DATA) {
            this.SOIL_HUMIDITY_DATA = SOIL_HUMIDITY_DATA;
        }

        public static class SOILHUMIDITYDATABean {
            private double MINDATA;
            private double MAXDATA;
            private double DATA;
            private int TIME;
            private int MONTH;

            public int getMONTH() {
                return MONTH;
            }

            public void setMONTH(int MONTH) {
                this.MONTH = MONTH;
            }

            public double getDATA() {
                return DATA;
            }

            public void setDATA(double DATA) {
                this.DATA = DATA;
            }

            public int getTIME() {
                return TIME;
            }

            public void setTIME(int TIME) {
                this.TIME = TIME;
            }

            public double getMINDATA() {
                return MINDATA;
            }

            public void setMINDATA(double MINDATA) {
                this.MINDATA = MINDATA;
            }

            public double getMAXDATA() {
                return MAXDATA;
            }

            public void setMAXDATA(double MAXDATA) {
                this.MAXDATA = MAXDATA;
            }
        }
    }
}
